<?php

namespace app\web\model;

use think\Model;

class UserCreditWeb extends Model
{
    protected $table = 'sc_user_credit_card';

    protected $createTime = 'created_at';
    protected $updateTime = 'updated_at';

    public function getBankInfo()
    {
        return $this->hasOne(CreditBank::class, 'bank_id', 'bank_id');
    }
}
